<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>jack-audio-connection-kit</Name>
        <Homepage>http://jackaudio.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>service</IsA>
        <Summary>A low-latency audio server</Summary>
        <Description>JACK is a low-latency audio server written for POSIX conformant operating systems. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.</Description>
        <Archive sha1sum="0f648b8b03537991c095591a43d7eb21f0f29000" type="targz">https://github.com/jackaudio/jack2/archive/v1.9.10.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libsamplerate-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libffado-devel</Dependency>
            <Dependency>celt-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>eigen3</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">gcc6.patch</Patch>
            <Patch level="1">jack1compat.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>jack-audio-connection-kit</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libsamplerate</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>libffado</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>celt</Dependency>
            <Dependency>libopus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/security</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/jack-audio-connection-kit</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-jack.conf">99-jack.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/udev/rules.d/40-hpet-permissions.rules">40-hpet-permissions.rules</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-audio.conf">99-audio.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>jack-audio-connection-kit-devel</Name>
        <Summary>Development files for jack-audio-connection-kit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>jack-audio-connection-kit-docs</Name>
        <Summary>Help files and API documents for jack-audio-connection-kit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/jack-audio-connection-kit/reference</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.9.10</Version>
            <Comment>Rebuild for new toolchain, patch.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.9.10</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-24</Date>
            <Version>1.9.10</Version>
            <Comment>First release</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>    
    </History>
</PISI>
